﻿<%@ Page Language="C#" MasterPageFile="~/APP/MasterPage_appCom.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="frmA_CompHistoryInput.aspx.cs" Inherits="APP_frmA_CompHistoryInput" Title="Untitled Page" Culture="ja-JP" uiCulture="ja" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
本社履歴情報登録
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <script type="text/javascript" src="../Js/jquery.min.js"></script>
<script type="text/javascript" src="../Js/jquery.alphanumeric.pack.js"></script>
<script type="text/javascript" src="../Js/jquery.maskedinput-1.3.min.js"></script>
<script src="../js/Validation.js" type="text/javascript"></script>
 <script src="../js/jquery.blockUI.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">   

function numbersonly(myfield, e, dec)
{
var key;
var keychar;

if (window.event)
   key = window.event.keyCode;
else if (e)
   key = e.which;
else
   return true;
keychar = String.fromCharCode(key);

// control keys
if ((key==null) || (key==0) || (key==8) || 
    (key==9) || (key==13) || (key==27) || (key == 13) ) 
   return true;

// numbers
else if ((("0123456789").indexOf(keychar) > -1))
   return true;

// decimal point jump
else if (dec && (keychar == "."))
   {
   myfield.form.elements[dec].focus();
   return false;
   }
else
   return false;
}



function numbersonly3(myfield, e, dec)
{
var key;
var keychar;

if (window.event)
   key = window.event.keyCode;
else if (e)
   key = e.which;
else
   return true;
keychar = String.fromCharCode(key);

// control keys
if ((key==null) || (key==0) || (key==8) || 
    (key==9) || (key==13) || (key==27) || (key == 13) || (key == 45) ) 
   return true;

// numbers
else if ((("0123456789").indexOf(keychar) > -1))
   return true;

// decimal point jump
else if (dec && (keychar == "."))
   {
   myfield.form.elements[dec].focus();
   return false;
   }
else
   return false;
}





function numbersonlyHour(myfield, e, dec) {
    var key;
    var keychar;

    if (window.event)
        key = window.event.keyCode;
    else if (e)
        key = e.which;
    else
        return true;
    keychar = String.fromCharCode(key);

    // control keys
    if ((key == null) || (key == 0) || (key == 8) ||
    (key == 9) || (key == 13) || (key == 27) || (key == 58) || (key == 13))
        return true;

    // numbers
    else if ((("0123456789").indexOf(keychar) > -1))
        return true;

    // decimal point jump
    else if (dec && (keychar == ".")) {
        myfield.form.elements[dec].focus();
        return false;
    }
    else
        return false;
}


  function numbersInt(myfield, e, dec)
{
var key;
var keychar;

if (window.event)
   key = window.event.keyCode;
else if (e)
   key = e.which;
else
   return true;
keychar = String.fromCharCode(key);

// control keys
if ((key==null) || (key==0) || (key==8) || 
    (key==9) || (key==13) || (key==27) || (key == 13) ) 
   return true;

// numbers
else if ((("0123456789").indexOf(keychar) > -1))
   return true;

// decimal point jump
else if (dec && (keychar == "."))
   {
   myfield.form.elements[dec].focus();
   return false;
   }
else
   return false;
}

function validatDateHour(oSrc, args)
{
    var time = args.Value;
    var hour = time.substr(0,2);
    var minitues = time.substr(3,2);
    
    var pre_time = document.getElementById('ctl00_ContentPlaceHolder1_ddl_昼休み開始時間').value;
    var pre_hour = pre_time.substr(0,2);
    var pre_minitues = pre_time.substr(3,2);
    //alert(pre_minitues);
    if(hour == pre_hour)
    {
        
        if(minitues <= pre_minitues)
        {
            args.IsValid = false;   
            
        }
        else 
        {
            args.IsValid = true;    
        }
     
           
    }
    else if(hour < pre_hour)
        {
            args.IsValid = false
        }
    else
    {
        //alert('dung roi');
        args.IsValid = true;
    }
    
    
}

function validatDateHourLunchBreakToStartWorking(oSrc, args)
{
    var time = args.Value;
    var hour = time.substr(0,2);
    var minitues = time.substr(3,2);
    
    var pre_time = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務開始時間').value;
    var pre_hour = pre_time.substr(0,2);
    var pre_minitues = pre_time.substr(3,2);
    //alert(pre_minitues);
    if(hour == pre_hour)
    {
        
        if(minitues <= pre_minitues)
        {
            args.IsValid = false; 
            //document.getElementById("ctl00_ContentPlaceHolder1_txt_勤務開始時間").style.backgroundColor = "#FFF";
            document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#E6EDCC";  
            
        }
        else 
        {
            args.IsValid = true;
            //document.getElementById("ctl00_ContentPlaceHolder1_txt_勤務開始時間").style.backgroundColor = "#E6EDCC"
            document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#FFF";    
        }
     
           
    }
    else if(hour < pre_hour)
        {
            args.IsValid = false
            //document.getElementById("ctl00_ContentPlaceHolder1_txt_勤務開始時間").style.backgroundColor = "#E6EDCC"
            document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#E6EDCC";
        }
    else
    {
        //alert('dung roi');
        args.IsValid = true;
        //document.getElementById("ctl00_ContentPlaceHolder1_txt_勤務開始時間").style.backgroundColor = "#FFF";
        document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#FFF";
    }
    
    
}



function validatEndOfNoonToAfterLunch(oSrc, args)
{
    var time = args.Value;
    var hour = time.substr(0,2);
    var minitues = time.substr(3,2);
    
    var pre_time = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務終了時間').value;
    var pre_hour = pre_time.substr(0,2);
    var pre_minitues = pre_time.substr(3,2);
    //alert(pre_minitues);
    if(time != "" && pre_time != "")
    {
    if(hour == pre_hour)
    {
        
        if(minitues >= pre_minitues)
        {
            args.IsValid = false; 
            //document.getElementById("ctl00_ContentPlaceHolder1_txt_勤務開始時間").style.backgroundColor = "#FFF";
            //document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#E6EDCC";  
            
        }
        else 
        {
            args.IsValid = true;
            //document.getElementById("ctl00_ContentPlaceHolder1_txt_勤務開始時間").style.backgroundColor = "#E6EDCC"
            //document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#FFF";    
        }
     
           
    }
    else if(hour > pre_hour)
        {
            args.IsValid = false
            //document.getElementById("ctl00_ContentPlaceHolder1_txt_勤務開始時間").style.backgroundColor = "#E6EDCC"
            //document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#E6EDCC";
        }
    else
    {
        //alert('dung roi');
        args.IsValid = true;
        //document.getElementById("ctl00_ContentPlaceHolder1_txt_勤務開始時間").style.backgroundColor = "#FFF";
        //document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#FFF";
    }
    }
    
    
}




function CheckChangeColorDateHour()
{
    var check;
    var time = document.getElementById('ctl00_ContentPlaceHolder1_ddl_昼休み終了時間').value;
    var hour = time.substr(0,2);
    var minitues = time.substr(3,2);
    
    var pre_time = document.getElementById('ctl00_ContentPlaceHolder1_ddl_昼休み開始時間').value;
    var pre_hour = pre_time.substr(0,2);
    var pre_minitues = pre_time.substr(3,2);
    //alert(pre_minitues);
    if(hour == pre_hour)
    {
        
        if(minitues <= pre_minitues)
        {
             check = false;   
            
        }
        else 
        {
            check = true;    
        }
     
           
    }
    else if(hour < pre_hour)
        {
            check = false
        }
    else
    {
        //alert('dung roi');
       check = true;
       
    }
    return check;
    
}

function checkDateHourLunchBreakToStartWorking()
{
    var check = '';
    var time = document.getElementById('ctl00_ContentPlaceHolder1_ddl_昼休み開始時間').value;
    var hour = time.substr(0,2);
    var minitues = time.substr(3,2);
    
    var pre_time = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務開始時間').value;
    var pre_hour = pre_time.substr(0,2);
    var pre_minitues = pre_time.substr(3,2);
    //alert(pre_minitues);
    if(hour == pre_hour)
    {
        
        if(minitues <= pre_minitues)
        {
            check = false; 
            //document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#E6EDCC";  
            
        }
        else 
        {
            check = true;
            //document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#FFF";    
        }
     
           
    }
    else if(hour < pre_hour)
        {
            check = false
            //document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#E6EDCC";
        }
    else
    {
        //alert('dung roi');
        check = true;
        //document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#FFF";
    }
    return check;
    
}




function ChangeColor(oSrc, args)
{
    var check = CheckChangeColorDateHour();
    var check1 = checkDateHourLunchBreakToStartWorking();
    var 昼休み終了時間 = document.getElementById('ctl00_ContentPlaceHolder1_ddl_昼休み終了時間').value;
    var 昼休み開始時間 = document.getElementById('ctl00_ContentPlaceHolder1_ddl_昼休み開始時間').value;
    
    if(昼休み終了時間 != "" && 昼休み開始時間 != "")
    {
        if(check == true && check1 == true)
        {
            document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#FFF";
        }
        else
        {
            document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#E6EDCC";
        }
    }
}

//function ChangeColor4(oSrc, args)
//{
//    var check = checkDateHourLunchBreakToStartWorking();
//    //var check1 = checkDateHourLunchBreakToStartWorking();
//    var 昼休み終了時間 = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務開始時間').value;
//    var 昼休み開始時間 = document.getElementById('ctl00_ContentPlaceHolder1_ddl_昼休み開始時間').value;
//    
//    if(昼休み終了時間 != "" && 昼休み開始時間 != "")
//    {
//        if(check == true)
//        {
//            document.getElementById("ctl00_ContentPlaceHolder1_txt_勤務開始時間").style.backgroundColor = "#FFF";
//            document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#FFF";
//        }
//        else
//        {
//            document.getElementById("ctl00_ContentPlaceHolder1_txt_勤務開始時間").style.backgroundColor = "#E6EDCC";
//            document.getElementById("ctl00_ContentPlaceHolder1_ddl_昼休み開始時間").style.backgroundColor = "#E6EDCC";
//        }
//    }
//}



function CheckRong(oSrc, args) // bat buoc phai nhap 1 trong 3 text box
{
    var 大卒初任給 = document.getElementById('ctl00_ContentPlaceHolder1_txt_大卒初任給').value;
    
    
    var 高卒初任給 = document.getElementById('ctl00_ContentPlaceHolder1_txt_高卒初任給').value;
    var 中卒初任給 = document.getElementById('ctl00_ContentPlaceHolder1_txt_中卒初任給').value;
    
    if(大卒初任給 == "" && 高卒初任給 == "" && 中卒初任給 == "")
    {
        //alert('fale');
        document.getElementById("ctl00_ContentPlaceHolder1_txt_大卒初任給").style.backgroundColor = "#E6EDCC";
        document.getElementById("ctl00_ContentPlaceHolder1_txt_高卒初任給").style.backgroundColor = "#E6EDCC";
        document.getElementById("ctl00_ContentPlaceHolder1_txt_中卒初任給").style.backgroundColor = "#E6EDCC";
        args.IsValid = false;
    }
    else
    {
        //alert('true');
        document.getElementById("ctl00_ContentPlaceHolder1_txt_大卒初任給").style.backgroundColor = "#FFF";
        document.getElementById("ctl00_ContentPlaceHolder1_txt_高卒初任給").style.backgroundColor = "#FFF";
        document.getElementById("ctl00_ContentPlaceHolder1_txt_中卒初任給").style.backgroundColor = "#FFF";
        args.IsValid = true;
    }
}



function validatDateHour1(oSrc, args) // Check gio
{
    var time = args.Value
    var hour = time.substr(0,2);
    var minitues = time.substr(3,2);
    
    var pre_time = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務開始時間').value;
    var pre_hour = pre_time.substr(0,2);
    var pre_minitues = pre_time.substr(3,2);
    //alert(pre_minitues);
    if(hour == pre_hour)
    {
        if(minitues <= pre_minitues)
        {
            args.IsValid = false;   
            
        }
        else
            args.IsValid = true;   
           
    }
    else if(hour < pre_hour)
        {
            args.IsValid = false
        }
    else
    {
        //alert('dung roi');
        args.IsValid = true;
    }
    
    
}


function CheckChangeColorHour() // Check gio
{
    var check;
    var time = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務終了時間').value;
    var hour = time.substr(0,2);
    var minitues = time.substr(3,2);
    
    var pre_time = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務開始時間').value;
    var pre_hour = pre_time.substr(0,2);
    var pre_minitues = pre_time.substr(3,2);
    //alert(pre_minitues);
    if(hour == pre_hour)
    {
        if(minitues <= pre_minitues)
        {
            check = false;   
            
        }
        else
            check = true;   
           
    }
    else if(hour < pre_hour)
        {
            check = false
        }
    else
    {
        //alert('dung roi');
        check = true;
    }
    return check;
    
}



function ChangeColor1(oSrc, args)
{
    var check = CheckChangeColorHour();
    var 勤務終了時間 = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務終了時間').value;
    var 勤務開始時間 = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務開始時間').value;
    
    if(勤務終了時間 != "" && 勤務開始時間 != "")
    {
        if(check == true)
        {
            document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務開始時間').style.backgroundColor = "#FFF";
            
        }
        else
        {
            document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務開始時間').style.backgroundColor = "#E6EDCC";
            
           
        }
    }
}





function Check2Valid(source, args) {
            if (args.Value != "") {
                ValidatorEnable2(document.getElementById("<%= CustomValidator1.ClientID %>"), true);
                ValidatorEnable2(document.getElementById("<%= CustomValidator9.ClientID %>"), true);
                
            }
        }
        
        
function Check2Valid1(source, args) {
            if (args.Value != "") {
                ValidatorEnable2(document.getElementById("<%= CustomValidator2.ClientID %>"), true);
                
            }
        }
        
function Check2Valid3(source, args) {
            if (args.Value != "") {
                ValidatorEnable2(document.getElementById("<%= CustomValidator3.ClientID %>"), true);
                
            }
        }
function Check2Valid4(source, args) {
            if (args.Value != "") {
                ValidatorEnable2(document.getElementById("<%= CustomValidator21.ClientID %>"), true);
                
            }
        }
        
function Check2Valid5(source, args) {
            if (args.Value != "") {
                ValidatorEnable2(document.getElementById("<%= CustomValidator25.ClientID %>"), true);
                
            }
        }



 $(document).ready(function() {
            Disable();
            CheckReady();
            
 });
 
 function Disable()
 {
    disableControlOnLoadUpdatePanel2("", "<%= ddl_年度.ClientID %>");
 }
 
 
 function CheckReady()
 {
      
      $('#ctl00_ContentPlaceHolder1_txt_勤務開始時間').mask("99:99");
      $('#ctl00_ContentPlaceHolder1_ddl_昼休み開始時間').mask("99:99");
      $('#ctl00_ContentPlaceHolder1_ddl_昼休み終了時間').mask("99:99");
      $('#ctl00_ContentPlaceHolder1_txt_勤務終了時間').mask("99:99");
     registerEnterEvent("enter", "<%= btn_確認.ClientID %>", 24);
     registerControlToValidation("validation");
     formatDate("css_text_calender", "/");
     formatMoney("money",",",".");
     formatNumber("number");
       $('#<%= txt_営業損益.ClientID %>').keyup(function() {
                var chuoi = $(this).val();
                if (chuoi.indexOf('-') != -1) {
                    $(this).attr('maxlength', 19);
                }
                else {
                    $(this).attr('maxlength', 18);
                }
            });
            
       $('#<%= txt_経常損益.ClientID %>').keyup(function() {
                var chuoi = $(this).val();
                if (chuoi.indexOf('-') != -1) {
                    $(this).attr('maxlength', 19);
                }
                else {
                    $(this).attr('maxlength', 18);
                }
            });
      $('#<%= txt_当期純損益.ClientID %>').keyup(function() {
                var chuoi = $(this).val();
                if (chuoi.indexOf('-') != -1) {
                    $(this).attr('maxlength', 19);
                }
                else {
                    $(this).attr('maxlength', 18);
                }
            });      
 }
 
  function Check365(oSrc, args) { // kiem tra gio trong tai lieu.
        var check = args.Value
        if(parseInt(check) > parseInt('365'))
        {
            args.IsValid = false;
        }
        else
        {
            args.isValid = true;
        }
       


    }
    
 
 
 
 
 function ThoiGianNghiTrua()
 {
    var thoigian = '';
    var 勤務開始時間 = document.getElementById('ctl00_ContentPlaceHolder1_ddl_昼休み開始時間').value;
    var 勤務終了時間 = document.getElementById('ctl00_ContentPlaceHolder1_ddl_昼休み終了時間').value;
    var hour_勤務開始時間 = 勤務開始時間.substr(0,2);
    var minitues_勤務開始時間 = 勤務開始時間.substr(3,2);
    
    var pre_hour_勤務終了時間 = 勤務終了時間.substr(0,2);
    var pre_minitues_勤務終了時間 = 勤務終了時間.substr(3,2)
    if(勤務開始時間 != "" && 勤務終了時間 != "")
    {
        if(parseInt(pre_minitues_勤務終了時間) > parseInt(minitues_勤務開始時間))
        {
            //if(check == true)
            //{
                  var minitues =  parseInt(pre_minitues_勤務終了時間) - parseInt(minitues_勤務開始時間);
                  var totalhour = (((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) + parseInt(minitues)) ;
            
            //}
        }
        else if(parseInt(pre_minitues_勤務終了時間) < parseInt(minitues_勤務開始時間))
        {
            //if(check == true)
            //{
                  
                  var minitues = parseInt(minitues_勤務開始時間) - parseInt(pre_minitues_勤務終了時間);
                  var totalhour = (((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) - parseInt(minitues)) ;
            
            //}
        }
        else if(parseInt(pre_minitues_勤務終了時間) == parseInt(minitues_勤務開始時間))
        {
            //if(check == true)
            //{    
                var totalhour = parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間) * parseInt('60');
            
        
        
            //} 
        }
        return totalhour;
    }
    else
    {
        return thoigian = '0';
    }
 }
 
 
 
 
 
 
 function MathTime()
 {
    //alert(ThoiGianNghiTrua());
    var check = CheckChangeColorHour();
    var 勤務開始時間 = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務開始時間').value;
    var 勤務終了時間 = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務終了時間').value;
    var hour_勤務開始時間 = 勤務開始時間.substr(0,2);
    var minitues_勤務開始時間 = 勤務開始時間.substr(3,2);
    
    var pre_hour_勤務終了時間 = 勤務終了時間.substr(0,2);
    var pre_minitues_勤務終了時間 = 勤務終了時間.substr(3,2);
    
    if(parseInt(pre_minitues_勤務終了時間) > parseInt(minitues_勤務開始時間))
    {
        if(check == true)
        {
            if(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value != "")
            {
                var minitues =  parseInt(pre_minitues_勤務終了時間) - parseInt(minitues_勤務開始時間);
                if((((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) + parseInt(minitues) - parseInt(ThoiGianNghiTrua())) > parseInt(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value))
                {
                    var totalhour = ((((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) + parseInt(minitues)) - parseInt(ThoiGianNghiTrua())) - parseInt(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value);
                
                    var hour_所定労働時間 = Math.floor(parseInt(totalhour/60));
                    if(parseInt(hour_所定労働時間) < parseInt('10'))
                    {
                        hour_所定労働時間 = '0' + hour_所定労働時間;
                    }
                    var minitues_所定労働時間 = totalhour%60;
                    if(parseInt(minitues_所定労働時間) < parseInt('10'))
                    {
                        minitues_所定労働時間 = '0' + minitues_所定労働時間;
                    }
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間').value = hour_所定労働時間;
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間_分').value = minitues_所定労働時間;
                }
                else
                {
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間').value = "";
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間_分').value = "";
                }
                
            }
            else
            {
                var minitues =  parseInt(pre_minitues_勤務終了時間) - parseInt(minitues_勤務開始時間);
                var totalhour = ((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) + parseInt(minitues);
                var hour_所定労働時間 = Math.floor(parseInt(totalhour/60));
                if(parseInt(hour_所定労働時間) < parseInt('10'))
                {
                    hour_所定労働時間 = '0' + hour_所定労働時間;
                }
                var minitues_所定労働時間 = totalhour%60;
                if(parseInt(minitues_所定労働時間) < parseInt('10'))
                {
                    minitues_所定労働時間 = '0' + minitues_所定労働時間;
                }
                document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間').value = hour_所定労働時間;
                document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間_分').value = minitues_所定労働時間;
            }
        }
        
        

        
    }
    else if(parseInt(pre_minitues_勤務終了時間) < parseInt(minitues_勤務開始時間))
    {
        if(check == true)
        {
            if(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value != "")
            {
                var minitues = parseInt(minitues_勤務開始時間) - parseInt(pre_minitues_勤務終了時間);
                if((((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) - parseInt(minitues) - parseInt(ThoiGianNghiTrua())) > parseInt(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value))
                {    
                    var totalhour = ((((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) - parseInt(minitues)) - parseInt(ThoiGianNghiTrua())) - parseInt(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value);
                
                    var hour_所定労働時間 = Math.floor(parseInt(totalhour/60));
                    if(parseInt(hour_所定労働時間) < parseInt('10'))
                    {
                        hour_所定労働時間 = '0' + hour_所定労働時間;
                    }
                    var minitues_所定労働時間 = totalhour%60;
                    if(parseInt(minitues_所定労働時間) < parseInt('10'))
                    {
                        minitues_所定労働時間 = '0' + minitues_所定労働時間;
                    }
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間').value = hour_所定労働時間;
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間_分').value = minitues_所定労働時間;
                }
                else
                {
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間').value = "";
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間_分').value = "";
                }
                
            }
            else
            {
                var minitues = parseInt(minitues_勤務開始時間) - parseInt(pre_minitues_勤務終了時間);
                var totalhour = ((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) - parseInt(minitues);
                var hour_所定労働時間 = Math.floor(parseInt(totalhour/60));
                if(parseInt(hour_所定労働時間) < parseInt('10'))
                {
                    hour_所定労働時間 = '0' + hour_所定労働時間;
                }
                var minitues_所定労働時間 = totalhour%60;
                if(parseInt(minitues_所定労働時間) < parseInt('10'))
                {
                    minitues_所定労働時間 = '0' + minitues_所定労働時間;
                }
                document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間').value = hour_所定労働時間;
                document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間_分').value = minitues_所定労働時間;
            }
        }
        
        //var minitues = parseInt(minitues_勤務開始時間) - parseInt(pre_minitues_勤務終了時間);
        //var totalhour = ((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) - parseInt(minitues);
        //document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間').value = totalhour;
    }
    
    else if(parseInt(pre_minitues_勤務終了時間) == parseInt(minitues_勤務開始時間))
    {
        //var minitues = parseInt(minitues_勤務開始時間) - parseInt(pre_minitues_勤務終了時間);
        
        if(check == true)
        {    
            if(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value != "")
            {
                
                if((((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) - parseInt(ThoiGianNghiTrua())) > parseInt(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value))
                {
                    
                    var totalhour = ((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間) * parseInt('60')) - parseInt(ThoiGianNghiTrua())) - parseInt(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value);
                
                    var hour_所定労働時間 = Math.floor(parseInt(totalhour/60));
                    if(parseInt(hour_所定労働時間) < parseInt('10'))
                    {
                        hour_所定労働時間 = '0' + hour_所定労働時間;
                    }
                    var minitues_所定労働時間 = totalhour%60;
                    if(parseInt(minitues_所定労働時間) < parseInt('10'))
                    {
                        minitues_所定労働時間 = '0' + minitues_所定労働時間;
                    }
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間').value = hour_所定労働時間;
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間_分').value = minitues_所定労働時間;
                }
                else
                {
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間').value ="";
                    document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間_分').value = "";
                }
            }
            else
            {
                var totalhour = (parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間) * parseInt('60')) - parseInt(ThoiGianNghiTrua());
                var hour_所定労働時間 = Math.floor(parseInt(totalhour/60));
                if(parseInt(hour_所定労働時間) < parseInt('10'))
                {
                    hour_所定労働時間 = '0' + hour_所定労働時間;
                }
                var minitues_所定労働時間 = totalhour%60;
                if(parseInt(minitues_所定労働時間) < parseInt('10'))
                {
                    minitues_所定労働時間 = '0' + minitues_所定労働時間;
                }
                document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間').value = hour_所定労働時間;
                document.getElementById('ctl00_ContentPlaceHolder1_txt_所定労働時間_分').value = minitues_所定労働時間;
            }
        }
    }
 }
    
 function CheckTongThoiGianNghi(oSrc, args)
 {
    var 勤務開始時間 = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務開始時間').value;
    var 勤務終了時間 = document.getElementById('ctl00_ContentPlaceHolder1_txt_勤務終了時間').value;
    var hour_勤務開始時間 = 勤務開始時間.substr(0,2);
    var minitues_勤務開始時間 = 勤務開始時間.substr(3,2);
    
    var pre_hour_勤務終了時間 = 勤務終了時間.substr(0,2);
    var pre_minitues_勤務終了時間 = 勤務終了時間.substr(3,2);
    
    if(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value != "")
    {
        //alert('day');
        if(parseInt(pre_minitues_勤務終了時間) > parseInt(minitues_勤務開始時間))
        {
            var minitues =  parseInt(pre_minitues_勤務終了時間) - parseInt(minitues_勤務開始時間);
            if((((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) - parseInt(minitues) - parseInt(ThoiGianNghiTrua())) > parseInt(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value))
            {
                args.IsValid = true
            }
            else
            {
                args.IsValid = false;
            }
        }
        else if(parseInt(pre_minitues_勤務終了時間) < parseInt(minitues_勤務開始時間))
        {
            var minitues = parseInt(minitues_勤務開始時間) - parseInt(pre_minitues_勤務終了時間);
            if((((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) - parseInt(minitues) - parseInt(ThoiGianNghiTrua())) > parseInt(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value))
            {
                args.IsValid = true;
            }
            else
            {
                args.IsValid = false;
            }
        }
        else if(parseInt(pre_minitues_勤務終了時間) == parseInt(minitues_勤務開始時間))
        {
            if((((parseInt(pre_hour_勤務終了時間 - hour_勤務開始時間)) * parseInt('60')) - parseInt(ThoiGianNghiTrua())) > parseInt(document.getElementById('ctl00_ContentPlaceHolder1_txt_休憩合計時間').value))
            {
                args.IsValid = true;
            }
            else
            {
                args.IsValid = false;
            }
        }
    }
    else
    {
        args.IsValid = true;
    }
    
 }   
    
    

      
</script>

    
    
    
   <asp:UpdatePanel id="UpdatePanel2" runat="server">
   <ContentTemplate>
   
    <div class="maindiv1">

      <div class="Header1">
            <span>＊: 必須入力項目</span>
        </div>
          <div>&nbsp;</div>
        
      

        <span class="spantitle">基本情報</span>
        <div class="divborder1">
             
             
             <div class="detail-admin-row38">
                <span class="detail-admin-label30">年度 :</span>
                 <asp:DropDownList id="ddl_年度" runat="server" Width="80px" 
                     CssClass="Font_textbox dropdownlist validation enter" 
                     OnSelectedIndexChanged="ddl_年度_SelectedIndexChanged" AutoPostBack = "true" >
                     <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem>
                </asp:DropDownList>
                <span class="required-field"> *</span>
            
            
            <asp:RequiredFieldValidator runat="server" ID="validateddl_年度"
            ControlToValidate="ddl_年度"
            Display="None"
            SetFocusOnError="false"
            InitialValue = "-1"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender15"
            TargetControlID="validateddl_年度" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            
          <%-- <asp:CustomValidator runat="server" ID="CustomValidator7"   OnServerValidate="CustomValidate年度"
                ErrorMessage="" ControlToValidate="ddl_年度" Display="None" SetFocusOnError="false" >
           </asp:CustomValidator>
          <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender10"
            TargetControlID="CustomValidator7" HighlightCssClass = "invalid"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />--%>
            
            
            
            
            
            </div>
             <div class="detail-admin-row38">
                <span class="detail-admin-label30">決算月 :</span>
                 <asp:DropDownList id="ddl_決算月" runat="server" Width="80px" CssClass="Font_textbox dropdownlist validation enter" ValidationGroup="detailForm">
                     <asp:ListItem Value="-1" >[選択]</asp:ListItem>
                     <asp:ListItem Value="1">1月</asp:ListItem>
                        <asp:ListItem Value="2">2月</asp:ListItem>
                        <asp:ListItem Value="3">3月</asp:ListItem>
                        <asp:ListItem Value="4">4月</asp:ListItem>
                        <asp:ListItem Value="5">5月</asp:ListItem>
                        <asp:ListItem Value="6">6月</asp:ListItem>
                        <asp:ListItem Value="7">7月</asp:ListItem>
                        <asp:ListItem Value="8">8月</asp:ListItem>
                        <asp:ListItem Value="9">9月</asp:ListItem>
                        <asp:ListItem Value="10">10月</asp:ListItem>
                        <asp:ListItem Value="11">11月</asp:ListItem>
                        <asp:ListItem Value="12">12月</asp:ListItem>
                </asp:DropDownList>
                <span class="required-field"> *</span>
          <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2"
            ControlToValidate="ddl_決算月" InitialValue = "-1"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender6"
            TargetControlID="RequiredFieldValidator2" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                
            </div>
             <br style="clear:both"/>
             <div class="detail-admin-row35">
                <span class="detail-admin-label35">売上 :</span>
                <asp:TextBox ID="txt_売上" runat="server" ValidationGroup="detailForm" Width="150px" MaxLength="18" onkeypress="return InputNumberKeys(this, event)" CssClass="TextboxRight Font_textbox validation enter money" style="ime-mode:disabled"></asp:TextBox>
                <%--<input type="text" id="txt_売上" onkeypress="return numbersonly(this, event)" />--%>
                <span>円</span>
                <span class="required-field"> *</span>
            
             <asp:RequiredFieldValidator runat="server" ID="validatetxt_売上"
            ControlToValidate="txt_売上"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender8"
            TargetControlID="validatetxt_売上" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
              <asp:CustomValidator ID= "CustomValidator28" runat="server" ErrorMessage="" ControlToValidate="txt_売上"  ClientValidationFunction="checkMoney2" Display ="None" ValidateEmptyText = "true"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender29"
            TargetControlID="CustomValidator28" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            
            
            </div>
            <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">営業損益 :</span>
                <asp:TextBox ID="txt_営業損益" runat="server" ValidationGroup="detailForm" Width="150px" onkeypress="return InputNumberKeys(this, event,'-')" MaxLength="18" CssClass="TextboxRight Font_textbox  validation enter money" style="ime-mode:disabled"></asp:TextBox>
               
                円
                <span class="required-field"> *</span>
            
            
             <asp:RequiredFieldValidator runat="server" ID="validatetxt_営業損益"
            ControlToValidate="txt_営業損益"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender2"
            TargetControlID="validatetxt_営業損益" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
          <%-- <asp:RegularExpressionValidator runat="server" ID="Regular1"
            ControlToValidate="txt_営業損益"
            Display="None"
            SetFocusOnError="false"
            ValidationExpression = "^[1-9]+[0-9]*$"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender14"
            TargetControlID="Regular1" HighlightCssClass = "invalid"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />--%>
            
            
            
            <asp:CustomValidator ID= "CustomValidator17" runat="server" ErrorMessage="" ControlToValidate="txt_営業損益"  ClientValidationFunction="checkMoney" Display ="None" ValidateEmptyText = "true"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender20"
            TargetControlID="CustomValidator17" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            
            
            
            
            
            </div>
            <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">経常損益  :</span>
                <asp:TextBox ID="txt_経常損益" runat="server" ValidationGroup="detailForm" Width="150px" onkeypress="return InputNumberKeys(this, event,'-')" MaxLength="18" CssClass="TextboxRight Font_textbox validation enter money" style="ime-mode:disabled"></asp:TextBox>
                円
                <span class="required-field"> *</span>
            
            <asp:RequiredFieldValidator runat="server" ID="validatetxt_経常損益"
            ControlToValidate="txt_経常損益"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender3"
            TargetControlID="validatetxt_経常損益" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
             <asp:CustomValidator ID= "CustomValidator18" runat="server" ErrorMessage="" ControlToValidate="txt_経常損益"  ClientValidationFunction="checkMoney" Display ="None" ValidateEmptyText = "true"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender21"
            TargetControlID="CustomValidator18" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            </div>
             <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">当期純損益 :</span>
                <asp:TextBox ID="txt_当期純損益" runat="server" ValidationGroup="detailForm" Width="150px" onkeypress="return InputNumberKeys(this, event,'-')" MaxLength="18" CssClass="TextboxRight Font_textbox validation enter money" style="ime-mode:disabled"></asp:TextBox>
                円
                <span class="required-field"> *</span>
            
            
             <asp:RequiredFieldValidator runat="server" ID="validatetxt_当期純損益"
            ControlToValidate="txt_当期純損益"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender4"
            TargetControlID="validatetxt_当期純損益" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            
             <asp:CustomValidator ID= "CustomValidator19" runat="server" ErrorMessage="" ControlToValidate="txt_当期純損益"  ClientValidationFunction="checkMoney" Display ="None" ValidateEmptyText = "true"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender22"
            TargetControlID="CustomValidator19" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            </div>
            <%--<br style="clear:both"/>--%>
          <%--  <div class="detail-admin-row32">
            <span >常勤事務職</span>
             </div>--%>
             <div class="detail-admin-row60">
                  
                <span class="detail-admin-row32">常勤事務職</span>
            </div>
            <div class="detail-admin-row34">
                  
           <%-- <span class="detail-admin-row32">常勤事務職</span>--%>
             
                <span class="detail-admin-label32">男性  :</span>
                <asp:TextBox ID="txt_常勤事務職_男性" runat="server" ValidationGroup="detailForm" Width="80px" onkeypress="return InputNumberKeys(this, event)" MaxLength="8" CssClass="Font_textbox number validation enter" style="ime-mode:disabled"></asp:TextBox>
                人
                <span class="required-field"> *</span>
            
             <asp:RequiredFieldValidator runat="server" ID="validatetxt_常勤事務職_男性"
            ControlToValidate="txt_常勤事務職_男性"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
          <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender101"
            TargetControlID="validatetxt_常勤事務職_男性" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
             <ajaxToolkit:FilteredTextBoxExtender ID="ftbe" runat="server"
            TargetControlID="txt_常勤事務職_男性"         
            FilterType="Custom, Numbers"/>
            
            
            </div>
            <div class="detail-admin-row31">
                <span class="detail-admin-label31">女性  :</span>
                <asp:TextBox ID="txt_常勤事務職_女性" runat="server" ValidationGroup="detailForm" Width="80px" onkeypress="return numbersInt(this, event)" MaxLength="8" CssClass="Font_textbox number validation enter"  style="ime-mode:disabled"></asp:TextBox>
                人
                <span class="required-field"> *</span>
            
            
           <asp:RequiredFieldValidator runat="server" ID="validatetxt_常勤事務職_女性"
            ControlToValidate="txt_常勤事務職_女性"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender100"
            TargetControlID="validatetxt_常勤事務職_女性" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
             <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server"
            TargetControlID="txt_常勤事務職_女性"         
            FilterType="Custom, Numbers"/>
            
            </div>
           
           <br style="clear:both"/>
           <%--<div style="width:95%;float:left">
            <span>常勤現場職</span>
            </div>--%>
            
            <div class="detail-admin-row60">
                <span class="detail-admin-row32">常勤現場職</span>
            </div>
            
            <div class="detail-admin-row34">
                <%--<span class="detail-admin-row32">常勤現場職</span>--%>
                <span class="detail-admin-label32">男性  :</span>
                <asp:TextBox ID="txt_常勤現場職_男性" runat="server" ValidationGroup="detailForm" Width="80px" onkeypress="return numbersInt(this, event)" MaxLength = "8" CssClass="Font_textbox number validation enter" style="ime-mode:disabled"></asp:TextBox>
                人
                <span class="required-field"> *</span>
            
            
            <asp:RequiredFieldValidator runat="server" ID="validatetxt_常勤現場職_男性"
            ControlToValidate="txt_常勤現場職_男性"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender7"
            TargetControlID="validatetxt_常勤現場職_男性" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
              <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server"
            TargetControlID="txt_常勤現場職_男性"         
            FilterType="Custom, Numbers"/>
            
            
            </div>
            <div class="detail-admin-row31">
                <span class="detail-admin-label31">女性  :</span>
                <asp:TextBox ID="txt_常勤現場職_女性" runat="server" ValidationGroup="detailForm" Width="80px" onkeypress="return numbersInt(this, event)" MaxLength = "8" CssClass="Font_textbox number validation enter" style="ime-mode:disabled"></asp:TextBox>
                人
                <span class="required-field"> *</span>
            
            
            
            <asp:RequiredFieldValidator runat="server" ID="validatetxt_常勤現場職_女性"
            ControlToValidate="txt_常勤現場職_女性"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender9"
            TargetControlID="validatetxt_常勤現場職_女性" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
              <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server"
            TargetControlID="txt_常勤現場職_女性"         
            FilterType="Custom, Numbers"/>
            
            
            
            </div>
           <br style="clear:both"/>
           <%--<div style="width:95%;float:left">
            <span>非常勤事務職</span>
            </div>--%>
            
            <div class="detail-admin-row71">
                <span class="detail-admin-row32">非常勤事務職</span>
            </div>    
            
            <div class="detail-admin-row34">
                <%--<span class="detail-admin-row32">非常勤事務職</span>--%>
                <span class="detail-admin-label32">男性  :</span>
                <asp:TextBox ID="txt_非常勤事務職_男性" runat="server" ValidationGroup="detailForm" Width="80px" onkeypress="return numbersInt(this, event)" MaxLength = "8" CssClass="Font_textbox number enter" style="ime-mode:disabled"></asp:TextBox>
                人
                <%--<span class="required-field"> *</span>--%>
            
            
            <%-- <asp:RequiredFieldValidator runat="server" ID="validatetxt_非常勤事務職_男性"
            ControlToValidate="txt_非常勤事務職_男性"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender10"
            TargetControlID="validatetxt_非常勤事務職_男性" HighlightCssClass = "invalid"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />--%>
              
              <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender4" runat="server"
            TargetControlID="txt_非常勤事務職_男性"         
            FilterType="Custom, Numbers"/>
            
            
            </div>
            <div class="detail-admin-row31">
                <span class="detail-admin-label31">女性  :</span>
                <asp:TextBox ID="txt_非常勤事務職_女性" runat="server" ValidationGroup="detailForm" Width="80px" onkeypress="return numbersInt(this, event)" MaxLength="8" CssClass="Font_textbox number enter" style="ime-mode:disabled"></asp:TextBox>
                人
               <%-- <span class="required-field"> *</span>--%>
            
            
           <%--  <asp:RequiredFieldValidator runat="server" ID="validatetxt_非常勤事務職_女性"
            ControlToValidate="txt_非常勤事務職_女性"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender11"
            TargetControlID="validatetxt_非常勤事務職_女性" HighlightCssClass = "invalid"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            --%>
              <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender5" runat="server"
            TargetControlID="txt_非常勤事務職_女性"         
            FilterType="Custom, Numbers"/>
            
            
            </div>
             <div style="width:100%; clear:both"></div>
        </div>
        
<span class="spantitle">労働条件情報</span>
<div class="divborder1">
      <div class="Header3">
              <span>
               ※該当する初任給を入力してください（いずれか必須）
            </span>
       </div>
        <div class="detail-admin-row35">
                <span class="detail-admin-label35">大卒初任給 :</span>
                <asp:TextBox ID="txt_大卒初任給" runat="server" ValidationGroup="detailForm" Width="150px" onkeypress="return numbersonly(this, event)" MaxLength="8" CssClass="TextboxRight Font_textbox validation enter money" style="ime-mode:disabled"></asp:TextBox>
                円
                
            
                 <asp:CustomValidator ID= "CustomValidator3" runat="server" ErrorMessage="" 
                  ControlToValidate="txt_大卒初任給"  ClientValidationFunction="CheckRong"  ValidateEmptyText="true"
                  Display ="None" ></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender5"
            TargetControlID="CustomValidator3" HighlightCssClass = "invalid" Width="378px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
             <asp:CustomValidator ID= "CustomValidator14" runat="server" ErrorMessage="xdsf" ControlToValidate="txt_大卒初任給" ClientValidationFunction="CheckRong" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender19"
            TargetControlID="CustomValidator14" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            </div>
            
            
           
             
            
            
            <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">高卒初任給 :</span>
                <asp:TextBox ID="txt_高卒初任給" runat="server" ValidationGroup="detailForm" Width="150px" onkeypress="return numbersonly(this, event)" MaxLength="8" CssClass="TextboxRight Font_textbox enter money validation" style="ime-mode:disabled"></asp:TextBox>
                円
                              
                
               
                 <asp:CustomValidator ID= "CustomValidator15" runat="server" ErrorMessage="xdsf" ControlToValidate="txt_高卒初任給" ValidateEmptyText="true"  ClientValidationFunction="CheckRong" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
               <%-- <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender20"
                    TargetControlID="CustomValidator15" HighlightCssClass = "invalid" Width="260px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />   --%>
            </div>
            
            
           
            
            
             <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">中卒初任給 :</span>
                <asp:TextBox ID="txt_中卒初任給" runat="server" ValidationGroup="detailForm" Width="150px" onkeypress="return numbersonly(this, event)" MaxLength ="8" CssClass="TextboxRight Font_textbox enter money validation" style="ime-mode:disabled"></asp:TextBox>
                円
               
            
              <asp:CustomValidator ID= "CustomValidator16" runat="server" ErrorMessage="xdsf" ControlToValidate="txt_中卒初任給" ValidateEmptyText="true"  ClientValidationFunction="CheckRong" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
           <%--  <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender21"
            TargetControlID="CustomValidator16" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />--%>
            
            </div>
            
           
            
            
            
            <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">年間労働日数  :</span>
                <asp:TextBox ID="txt_年間労働日数" runat="server" ValidationGroup="detailForm" Width="80px" onkeypress="return numbersInt(this, event)" MaxLength = "3" CssClass="Font_textbox number validation enter" style="ime-mode:disabled"></asp:TextBox>
               <span>日</span>
               <span class="required-field"> *</span>
            
            
            
             <asp:RequiredFieldValidator runat="server" ID="validatetxt_年間労働日数"
            ControlToValidate="txt_年間労働日数"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender12"
            TargetControlID="validatetxt_年間労働日数" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
              <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender6" runat="server"
            TargetControlID="txt_年間労働日数"         
            FilterType="Custom, Numbers"/>
            
            
            
             <asp:CustomValidator ID= "CustomValidator23" runat="server" ErrorMessage="" ControlToValidate="txt_年間労働日数"  ClientValidationFunction="Check365" Display ="None"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender31"
            TargetControlID="CustomValidator23" HighlightCssClass = "invalid" Width="218px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            </div>
            <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">勤務開始時間 :</span>
                <asp:TextBox ID="txt_勤務開始時間" runat="server" ValidationGroup="detailForm" Width="80px" MaxLength="5" onblur="MathTime();" onkeypress="return numbersonly(this, event)" CssClass="Font_textbox validation enter" style="ime-mode:disabled"></asp:TextBox>
               
              <%--<asp:RegularExpressionValidator runat="server" ID ="regular1" ControlToValidate="txt_勤務開始時間"  ValidationExpression="^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$" ErrorMessage="" Display="none" SetFocusOnError="false" ></asp:RegularExpressionValidator>
            
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender44"
            TargetControlID="regular1" HighlightCssClass = "invalid"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />--%>
               
            
            
            <%--<asp:RequiredFieldValidator runat="server" ID="validatetxt_勤務開始時間"
            ControlToValidate="txt_勤務開始時間"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender13"
            TargetControlID="validatetxt_勤務開始時間" HighlightCssClass = "invalid"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />--%>
            
            <asp:CustomValidator ID= "CustomValidator4" runat="server" ErrorMessage="" ControlToValidate="txt_勤務開始時間"  ClientValidationFunction="RequiredField_Time" Display ="None" ValidateEmptyText = "true"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender11"
            TargetControlID="CustomValidator4" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
             <asp:CustomValidator ID= "CustomValidator6" runat="server" ErrorMessage="" ControlToValidate="txt_勤務開始時間"  ClientValidationFunction="checkTime" Display ="None"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender13"
            TargetControlID="CustomValidator6" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            
            <asp:CustomValidator ID= "CustomValidator11" runat="server" ErrorMessage="xdsf" ControlToValidate="txt_勤務開始時間"  ClientValidationFunction="Check2Valid1" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender18"
            TargetControlID="CustomValidator11" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            <asp:CustomValidator ID= "CustomValidator22" runat="server" ErrorMessage="xdsf" ControlToValidate="txt_勤務開始時間"  ClientValidationFunction="Check2Valid4" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender24"
            TargetControlID="CustomValidator22" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
              <asp:CustomValidator ID= "CustomValidator12" runat="server" ErrorMessage="" 
                  ControlToValidate="txt_勤務開始時間"  ClientValidationFunction="ChangeColor1" 
                  Display ="None" ></asp:CustomValidator>
              
             
            
            
            
            
            <%-- <ajaxToolkit:MaskedEditExtender
            id = "MaskedEditExtender1"
            TargetControlID ="txt_勤務開始時間" UserTimeFormat="TwentyFourHour" AutoComplete ="true" EnableViewState="true" ClearMaskOnLostFocus = "false" InputDirection="LeftToRight" 
            Mask="99:99"
            MaskType="Number"
            runat="server">
        </ajaxToolkit:MaskedEditExtender>--%>
           <%--<ajaxToolkit:MaskedEditValidator ID="MaskedEditValidator1" runat="server"  MaximumValue=">1000" ControlExtender="MaskedEditExtender1" ControlToValidate="txt_勤務開始時間" ValidationExpression="^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$" Display="Dynamic"></ajaxToolkit:MaskedEditValidator> --%>
               
               <span>時</span>
               <span class="required-field"> *</span>
            </div>
            <br style="clear:both"/>
             <div class="detail-admin-row35">
                <span class="detail-admin-label35">昼休み開始時間 :</span>
               <%-- <asp:DropDownList id="ddl_昼休み開始時間" runat="server" Width="155px" CssClass="Font_textbox">
                     <asp:ListItem Value="" selected="true">-選択-</asp:ListItem>
                     <asp:ListItem Value="11:00">11:00</asp:ListItem>
                     <asp:ListItem Value="11:30">11:30</asp:ListItem>
                     <asp:ListItem Value="12:00">12:00</asp:ListItem>
                     <asp:ListItem Value="12:30">12:30</asp:ListItem>
                     <asp:ListItem Value="13:00">13:00</asp:ListItem>
                     <asp:ListItem Value="13:30">13:30</asp:ListItem>
                     
                </asp:DropDownList>--%>
                <asp:TextBox ID="ddl_昼休み開始時間" runat="server" ValidationGroup="detailForm" Width="80px" MaxLength="5" onkeypress="return numbersonly(this, event);" CssClass="Font_textbox enter" style="ime-mode:disabled"/>
                <span>時</span>
                
                  <asp:CustomValidator ID= "CustomValidator21" runat="server" ErrorMessage="xdsf" ControlToValidate="ddl_昼休み開始時間"  ClientValidationFunction="validatDateHourLunchBreakToStartWorking" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender23"
            TargetControlID="CustomValidator21" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                 
                 
                 <asp:CustomValidator ID= "CustomValidator7" runat="server" ErrorMessage="xdsf" ControlToValidate="ddl_昼休み開始時間"  ClientValidationFunction="Check2Valid" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender10"
            TargetControlID="CustomValidator7" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
             <asp:CustomValidator ID= "CustomValidator24" runat="server" ErrorMessage="xdsf" ControlToValidate="ddl_昼休み開始時間"  ClientValidationFunction="Check2Valid4" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender25"
            TargetControlID="CustomValidator24" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
              <asp:CustomValidator ID= "CustomValidator9" runat="server" ErrorMessage="" 
                  ControlToValidate="ddl_昼休み開始時間"  ClientValidationFunction="ChangeColor" 
                  Display ="None" ></asp:CustomValidator>
                  
                  
            
                  
                 
            
            
          
                
                
                
                
            </div>
            <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">昼休み終了時間 :</span>
              <%--  <asp:DropDownList id="ddl_昼休み終了時間" runat="server" Width="155px" CssClass="Font_textbox">
                     <asp:ListItem Value="" selected="true">-選択-</asp:ListItem>
                     <asp:ListItem Value="11:30">11:30</asp:ListItem>
                     <asp:ListItem Value="12:00">12:00</asp:ListItem>
                     <asp:ListItem Value="12:30">12:30</asp:ListItem>
                     <asp:ListItem Value="13:00">13:00</asp:ListItem>
                     <asp:ListItem Value="13:30">13:30</asp:ListItem>
                     <asp:ListItem Value="14:00">14:00</asp:ListItem>
                </asp:DropDownList>--%>
                
                <asp:TextBox ID="ddl_昼休み終了時間" runat="server" ValidationGroup="detailForm" Width="80px" MaxLength="5" onkeypress="return numbersonly(this, event);" CssClass="Font_textbox validation enter" style="ime-mode:disabled"/>
                <span>時</span>
                
                
           
                
                
            
           <%-- <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1"
            ControlToValidate="ddl_昼休み終了時間"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender10"
            TargetControlID="RequiredFieldValidator1" HighlightCssClass = "invalid"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />--%>
             
             
             <asp:CustomValidator ID= "CustomValidator1" runat="server" ErrorMessage="" ControlToValidate="ddl_昼休み終了時間"  ClientValidationFunction="validatDateHour" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender33"
            TargetControlID="CustomValidator1" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            
               <asp:CustomValidator ID= "CustomValidator8" runat="server" ErrorMessage="xdsf" ControlToValidate="ddl_昼休み終了時間"  ClientValidationFunction="Check2Valid" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender14"
            TargetControlID="CustomValidator8" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
              <asp:CustomValidator ID= "CustomValidator35" runat="server" ErrorMessage="" 
                  ControlToValidate="ddl_昼休み終了時間"  ClientValidationFunction="ChangeColor" 
                  Display ="None" ></asp:CustomValidator>
                  
            <asp:CustomValidator ID= "CustomValidator25" runat="server" ErrorMessage="" ControlToValidate="ddl_昼休み終了時間"  ClientValidationFunction="validatEndOfNoonToAfterLunch" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender26"
            TargetControlID="CustomValidator25" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />    
            
            
            <asp:CustomValidator ID= "CustomValidator26" runat="server" ErrorMessage="xdsf" ControlToValidate="ddl_昼休み終了時間"  ClientValidationFunction="Check2Valid5" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender27"
            TargetControlID="CustomValidator26" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />      
             
            
            
            
            
            </div>
            <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">勤務終了時間 :</span>
                <asp:TextBox ID="txt_勤務終了時間" runat="server" ValidationGroup="detailForm" Width="80px" onblur="MathTime();" MaxLength = "5" onkeypress="return numbersonly(this, event);" CssClass="Font_textbox validation enter" style="ime-mode:disabled"></asp:TextBox>
               <span>時</span>
               <span class="required-field"> *</span>
            
            
         <%--   <asp:RegularExpressionValidator runat="server" ID ="regular2" ControlToValidate="txt_勤務終了時間"  ValidationExpression="^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$" ErrorMessage="" Display="none" SetFocusOnError="false" ></asp:RegularExpressionValidator>
            
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender1"
            TargetControlID="regular2" HighlightCssClass = "invalid"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />--%>
            
            
           <%-- <asp:RequiredFieldValidator runat="server" ID="validatetxt_勤務終了時間"
            ControlToValidate="txt_勤務終了時間"
            Display="None"
            SetFocusOnError="false"
            ErrorMessage="" />
            
           <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender14"
            TargetControlID="validatetxt_勤務終了時間" HighlightCssClass = "invalid"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />--%>
            
            <asp:CustomValidator ID= "CustomValidator20" runat="server" ErrorMessage="" ControlToValidate="txt_勤務終了時間"  ClientValidationFunction="RequiredField_Time" Display ="None" ValidateEmptyText = "true"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender50"
            TargetControlID="CustomValidator20" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
             <asp:CustomValidator ID= "CustomValidator5" runat="server" ErrorMessage="" ControlToValidate="txt_勤務終了時間"  ClientValidationFunction="checkTime" Display ="None"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender1"
            TargetControlID="CustomValidator5" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
            
              <asp:CustomValidator ID= "CustomValidator2" runat="server" ErrorMessage="" ControlToValidate="txt_勤務終了時間"  ClientValidationFunction="validatDateHour1" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender16"
            TargetControlID="CustomValidator2" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
             <asp:CustomValidator ID= "CustomValidator10" runat="server" ErrorMessage="xdsf" ControlToValidate="txt_勤務終了時間"  ClientValidationFunction="Check2Valid1" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender17"
            TargetControlID="CustomValidator10" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
             
             <asp:CustomValidator ID= "CustomValidator13" runat="server" ErrorMessage="" 
                  ControlToValidate="txt_勤務終了時間"  ClientValidationFunction="ChangeColor1" 
                  Display ="None" ></asp:CustomValidator>
                  
                  
            <asp:CustomValidator ID= "CustomValidator27" runat="server" ErrorMessage="xdsf" ControlToValidate="txt_勤務終了時間"  ClientValidationFunction="Check2Valid5" Display ="None" SetFocusOnError="false"></asp:CustomValidator>
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender28"
            TargetControlID="CustomValidator27" HighlightCssClass = "invalid" Width="260px"
            CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            
            
           <%--   <ajaxToolkit:MaskedEditExtender
            id = "MaskedEditExtender2"
            TargetControlID ="txt_勤務終了時間" UserTimeFormat="TwentyFourHour" AutoComplete ="true" EnableViewState="true" ClearMaskOnLostFocus = "false"
            Mask="99:99"
            MaskType="Number"
            runat="server">
        </ajaxToolkit:MaskedEditExtender>--%>
            
            
            
            </div>
            <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">休憩合計時間 :</span>
                <asp:TextBox ID="txt_休憩合計時間" runat="server" ValidationGroup="detailForm" Width="80px" onblur="MathTime();" onkeypress="return numbersInt(this, event)" MaxLength = "8" CssClass = "Font_textbox validation number enter" style="ime-mode:disabled"></asp:TextBox>
                    分
              <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender7" runat="server"
            TargetControlID="txt_休憩合計時間"         
            FilterType="Custom, Numbers"/>
             <span style="color:Red">  昼休み時間も含む</span>
             
             <asp:CustomValidator ID= "CustomValidator29" runat="server" ErrorMessage="" ControlToValidate="txt_休憩合計時間"  ClientValidationFunction="CheckTongThoiGianNghi" Display ="None" ValidateEmptyText = "true"></asp:CustomValidator>
             <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender30"
                TargetControlID="CustomValidator29" HighlightCssClass = "invalid" Width="260px"
                CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
             
            </div>
            <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">所定労働時間 :</span>
                <asp:TextBox ID="txt_所定労働時間" runat="server"  ReadOnly="true" ValidationGroup="detailForm" Width="80px" onkeypress="return numbersInt(this, event)" MaxLength = "8" CssClass = "Font_textbox enter" style="ime-mode:disabled" ></asp:TextBox>
                <span>時間</span>
                <asp:TextBox ID="txt_所定労働時間_分" runat="server" ReadOnly="true" ValidationGroup="detailForm" Width="80px" onkeypress="return numbersInt(this, event)" MaxLength = "8" CssClass = "Font_textbox enter" style="ime-mode:disabled" ></asp:TextBox>
                <span>分</span>
                <%-- <span style="color:Red">    年間労働時間/３６５X7</span>--%>
            
             <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender8" runat="server"
            TargetControlID="txt_所定労働時間"         
            FilterType="Custom, Numbers"/>
            
            </div>
            <br style="clear:both"/>
            <div class="detail-admin-row35">
                <span class="detail-admin-label35">週平均労働日数 :</span>
                <asp:DropDownList id="ddl_週平均労働日数" runat="server" Width="87px" CssClass="Font_textbox dropdownlist enter" ValidationGroup="detailForm">
                     <asp:ListItem Value="" selected="true">[選択]</asp:ListItem>
                     <asp:ListItem Value="5">5</asp:ListItem>
                     <asp:ListItem Value="6">6</asp:ListItem>
                </asp:DropDownList>
                <span>日</span>
            </div>
             <div style="width:100%; clear:both"></div>
</div>
<div class="Header3" style="margin-left:50px">
              <span>
               ※入力が完了したら、確認ボタンを押してください。
            </span>
       </div>
        <div class="detail-admin-row">
            <span class="detail-admin-label">&nbsp;</span>
             <asp:Button ID="btn_確認" runat="server" Text="確認" CssClass="btn"  OnClick="btn_確認_Click" OnClientClick="javascript:focusToControlErr();" />
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <asp:Button ID="btn_リセット" runat="server" Text="リセット" CssClass="button" ValidationGroup="detail" CausesValidation = "false"
                 OnClick="btn_リセット_Click"/>
         </div>
           <div>&nbsp;</div>
           
            <div class="btn_back" style="padding-left:0px">
                 <asp:Button ID="btn_次"  runat="server" Text="←戻る" ValidationGroup="sssm" 
                     CssClass="btn" OnClick="btn_次_Click" />
                 <%--<input type="button" id="btn_次" name="btn_次" value="次→" class="btn" onclick="window.location.href='frmA_CompHistoryInput.aspx'" />--%>
        </div>
        <br />
        <br />
  <br />
  </div>
  </ContentTemplate>  
  </asp:UpdatePanel>
</asp:Content>

